package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author ms
 * @since 2024-05-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("YF_COST_DETAIL")
@ApiModel(value="YfCostDetail对象", description="")
public class YfCostDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @ApiModelProperty(value = "订单时间")
    private LocalDate slipDate;

    @ApiModelProperty(value = "部门ID")
    private String deptNo;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "费用类型ID")
    private String typeNo;

    @ApiModelProperty(value = "费用类型名称")
    private String typeName;

    @ApiModelProperty(value = "厂商ID")
    private String vendorNo;

    @ApiModelProperty(value = "厂商名")
    private String vendorName;

    @ApiModelProperty(value = "送货单号")
    private String sendNo;

    @ApiModelProperty(value = "费用描述")
    private String costDesc;

    @ApiModelProperty(value = "数量")
    private BigDecimal qty;

    @ApiModelProperty(value = "单位")
    private String costUnit;

    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    @ApiModelProperty(value = "价格")
    private BigDecimal amt;

    private String accountName;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime sysDate;

    @ApiModelProperty(value = "创建人")
    private String sysUser;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "结算月份")
    private String financeYymm;

    @ApiModelProperty(value = "结算标志位")
    private String cfmFlag;

    @ApiModelProperty(value = "结算日期")
    private LocalDate cfmDate;

    @ApiModelProperty(value = "结算人")
    private String cfmUser;

    @ApiModelProperty(value = "单据号码")
    private String slipNo;

    @ApiModelProperty(value = "订单内序号")
    private BigDecimal item;

    @ApiModelProperty(value = "结算单号")
    private String balanceNo;

    @ApiModelProperty(value = "扣款")
    private String processStatus;

    @ApiModelProperty(value = "备注信息")
    private String remarkCw;

    @ApiModelProperty(value = "扣款单据号码")
    private String cbSlipNo;

    @ApiModelProperty(value = "扣款序号")
    private BigDecimal cbItem;


}
